import templatePage from '@/layout/other/template-page.vue'
const leftNav = [
	// 首页
	{
		path: '/homePage',
		name: 'homepc',
		component: () => import('@/views/home-page-new.vue'),
		meta: {
			title: '首页',
			icon: 'icon-lingyu_icon_home1-02',
			checkedIcon: 'icon-a-lingyu_icon_home1_huaban1'
		},
		children: []
	},
	// 绩效系统
	{
		path: '/performanceSystem',
		name: 'performanceSystem',
		component: templatePage,
		meta: {
			title: '绩效系统',
			activeMenu: '/performanceSystem',
			icon: 'icon-lingyu_icon_home1-04',
			checkedIcon: 'icon-lingyu_icon_home1-03'
		},
		children: [
			// 基础配置
			{
				path: 'basicConfiguration',
				name: 'basicConfiguration',
				component: templatePage,
				meta: {
					title: '基础配置',
					icon: 'icon-a-lingyu_icon_point_huaban1',
					checkedIcon: 'icon-a-lingyu_icon_point_huaban1'
				},
				children: [{
						path: 'indicatorGroup',
						name: 'indicatorGroup',
						component: () => import('@/views/performance-system/basic-configuration/indicatorGroup.vue'),
						meta: {
							title: '指标分组',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
					{
						path: 'deadLine',
						name: 'deadLine',
						component: () => import('@/views/performance-system/basic-configuration/deadLine.vue'),
						meta: {
							title: '截止日期',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
				]
			},
			// 考核管理
			{
				path: 'assessmentManagement',
				name: 'assessmentManagement',
				component: templatePage,
				meta: {
					title: '考核管理',
					icon: 'icon-a-lingyu_icon_point_huaban1',
					checkedIcon: 'icon-a-lingyu_icon_point_huaban1'
				},
				children: [
					{
						path: 'indicatorLibrary',
						name: 'indicatorLibrary',
						component: () => import('@/views/performance-system/assessment-management/indicatorLibrary.vue'),
						meta: {
							title: '指标库',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
					{
						path: 'assessmentTemplate',
						name: 'assessmentTemplate',
						component: () => import(
							'@/views/performance-system/assessment-management/assessmentTemplate/index.vue'),
						meta: {
							title: '考核模板',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
					{
						path: 'templateDetails',
						name: 'templateDetails',
						hidden: true,
						component: () => import(
							'@/views/performance-system/assessment-management/assessmentTemplate/templateDetails.vue'),
						meta: {
							title: '添加考核模板',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
					{
						path: 'assessmentPlan',
						name: 'assessmentPlan',
						component: () => import('@/views/performance-system/assessment-management/assessmentPlan/index.vue'),
						meta: {
							title: '考核方案',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
					{
						path: 'planDetails',
						name: 'planDetails',
						hidden: true,
						component: () => import(
							'@/views/performance-system/assessment-management/assessmentPlan/planDetails.vue'),
						meta: {
							title: '添加考核方案',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
					{
						path: 'allAssessment',
						name: 'allAssessment',
						component: () => import('@/views/performance-system/assessment-management/allAssessment/index.vue'),
						meta: {
							title: '全部考核',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
					{
						path: 'byMonth',
						name: 'byMonth',
						hidden: true,
						component: () => import('@/views/performance-system/assessment-management/allAssessment/byMonth.vue'),
						meta: {
							title: '月度考核',
							icon: 'icon-a-caigoujihualiebiao',
							roles: [],
							tagOpenCount:0,
							keepAlive:true
						}
					},
				]
			},
			// 我的考核
				{
					path: 'myAssessment',
					name: 'myAssessment',
					component: templatePage,
					meta: {
						title: '我的考核',
						icon: 'icon-a-lingyu_icon_point_huaban1',
						checkedIcon: 'icon-a-lingyu_icon_point_huaban1'
					},
					children: [
						{
							path: 'initiatedByMyself',
							name: 'initiatedByMyself',
							component: () => import('@/views/performance-system/my-assessment/initiatedByMyself.vue'),
							meta: {
								title: '我发起的',
								icon: 'icon-a-caigoujihualiebiao',
								roles: [],
								tagOpenCount:0,
								keepAlive:true
							}
						},
						{
							path: 'currAssessment',
							name: 'currAssessment',
							component: () => import('@/views/performance-system/my-assessment/currAssessment.vue'),
							meta: {
								title: '当前考核',
								icon: 'icon-a-caigoujihualiebiao',
								roles: [],
								tagOpenCount:0,
								keepAlive:true
							}
						},{
							path: 'historicalAssessment',
							name: 'historicalAssessment',
							component: () => import('@/views/performance-system/my-assessment/historicalAssessment.vue'),
							meta: {
								title: '历史考核',
								icon: 'icon-a-caigoujihualiebiao',
								roles: [],
								tagOpenCount:0,
								keepAlive:true
							}
						},{
							path: 'assessmentDetails',
							name: 'assessmentDetails',
							hidden: true,
							component: () => import('@/views/performance-system/my-assessment/assessmentDetails.vue'),
							meta: {
								title: '考核详情',
								icon: 'icon-a-caigoujihualiebiao',
								roles: [],
							}
						}
					]
				}
			
		]
	},
	// 绩效管理
	// {
	//   path: '/performanceManage',
	//   name: 'performanceManage',
	//   component: templatePage,
	//   alwaysShow: true,
	//   meta: {
	//     title: '绩效系统',
	//     icon: 'icon-a-chakanjindu1',
	//     checkedIcon: 'icon-a-chakanjindu1'
	//   },
	//   children: [
	//     {
	//       path: 'indicatorLibrary',
	//       name: 'indicatorLibrary',
	//       component: () => import('@/views/performance-manage/indicatorLibrary.vue'),
	//       meta: {
	//         title: '指标库',
	//         icon: 'icon-a-lingyu_icon_point_huaban1',
	//         checkedIcon: 'icon-a-lingyu_icon_point_huaban1'
	//       }
	//     },
	//     {
	//       path: 'assessmentTemplate',
	//       name: 'assessmentTemplate',
	//       component: () => import('@/views/performance-manage/assessmentTemplate.vue'),
	//       meta: {
	//         title: '考核模板',
	//         icon: 'icon-a-lingyu_icon_point_huaban1',
	//         checkedIcon: 'icon-a-lingyu_icon_point_huaban1'
	//       }
	//     }
	//   ]
	// },



]
export default leftNav